/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.inventory.helperbeans;

import java.util.Collection;

/**
 *
 * @author maha
 */
public class UserHelperBean {

    private String userCode;
    private String userName;
    private String password;
    private String confirmPassword;
    private String phone;
    private String address;
    private String email;
    private String comment;
    private Boolean activeFlag;
    private Collection<CompanyHelperBean> company;

    public UserHelperBean() {
    }

    public UserHelperBean(String userCode, String userName, String password, String confirmPassword, String phone, String address, String email, Boolean activeFlag, Collection<CompanyHelperBean> company) {
        this.userCode = userCode;
        this.userName = userName;
        this.password = password;
        this.confirmPassword = confirmPassword;
        this.phone = phone;
        this.address = address;
        this.email = email;
        this.activeFlag = activeFlag;
        this.company = company;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getActiveFlag() {
        return activeFlag;
    }

    public void setActiveFlag(Boolean activeFlag) {
        this.activeFlag = activeFlag;
    }

    public Collection<CompanyHelperBean> getCompany() {
        return company;
    }

    public void setCompany(Collection<CompanyHelperBean> company) {
        this.company = company;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    @Override
    public String toString() {
        return "UserHelperBean{" + "userCode=" + userCode + ", userName=" + userName + ", password=" + password + ", confirmPassword=" + confirmPassword + ", phone=" + phone + ", address=" + address + ", email=" + email + ", activeFlag=" + activeFlag + ", company=" + company + '}';
    }
}
